extends Node

var maxNumber = 10
var dms:Array[AnimatedSprite2D]
var lj:Array[AnimatedSprite2D]
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
	pass # Replace with function body.


# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
	
	pass
func adddm(dm:AnimatedSprite2D):
	dms.append(dm)
func delDm(dm:AnimatedSprite2D):
	if dms.find(dm)!=-1:
		dms.remove_at(dms.find(dm))
